﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AlexandriaPressAuthorObject
{
    public class Book
    {

        #region "Fields"

        private int bookID;
        private int authorID;
        private DateTime datePublished;
        private string genre;
        private string description;
        private string title;
        private int stock;
        private string bookCover;
        private string fileLocation;
        private int draftID;
        private int price;
        private DateTime datePriceWasSet;

        #endregion

        #region "Properties"

        public int BookID
        {
            get { return bookID; }
            set { bookID = value; }
        }
        public int AuthorID
        {
            get { return authorID; }
            set { authorID = value; }
        }
        public int ApprovedDraftID
        {
            get { return draftID; }
            set { draftID = value; }
        }
        public DateTime DatePublished
        {
            get { return datePublished; }
            set { datePublished = value; }
        }
        public int Stock
        {
            get { return stock; }
            set { stock = value; }
        }
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        public string Genre
        {
            get { return genre; }
            set { genre = value; }
        }
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        public string BookCover
        {
            get { return bookCover; }
            set { bookCover = value; }
        }

        public string FileLocation
        {
            get { return fileLocation; }
            set { fileLocation = value; }
        }
        public int Price
        {
            get { return price; }
            set { price = value; }
        }
        public DateTime DatePriceWasSet
        {
            get { return datePriceWasSet; }
            set { datePriceWasSet = value; }
        }

        public string Author
        {
            get;
            set;
        }

        public int Quantity
        {
            get;
            set;
        }

        public decimal PricePerUnit
        {
            get;
            set;
        }

        public int QuantityInStock
        {
            get;
            set;
        }

        public string Comment
        {
            get;
            set;
        }

        public DateTime DateOfTransaction
        {
            get;
            set;
        }


        #endregion

    }
}
